﻿using A.M.Storage.Application;
using Q.M.Finance.Application.IServices;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.IRepository;
using Q.M.Finance.Infrastruecure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.Services
{
    public class Recipient_informationServices : BaseServices<recipient_information, string>, IRecipient_informationServices
    {
        private readonly IRecipient_informationRepository recipient_InformationRepository;
        public Recipient_informationServices(IRecipient_informationRepository recipient_InformationRepository) : base(recipient_InformationRepository)
        {
            this.recipient_InformationRepository = recipient_InformationRepository;
        }
        /// <summary>
        /// 显示客户信息
        /// </summary>
        /// <returns></returns>
        public async Task<List<recipient_information>> GetpayerInfo()
        {
            var payer = await recipient_InformationRepository.GetShowInforAsync();
            return payer;
        }
    }
}
